package br.com.firula.bo.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import br.com.firula.bo.TelefoneBO;
import br.com.firula.dao.TelefoneDAO;
import br.com.firula.to.TelefoneTO;

@SuppressWarnings("unchecked")
@Service("telefoneBO")
public class TelefoneBOImpl extends GenericBOImpl implements TelefoneBO {

    @Autowired
    public void setTelefoneDAO(TelefoneDAO dao) {
        this.dao = dao;
    }

    public TelefoneBOImpl(){
    	setType("br.com.firula.to.TelefoneTO");
    }

    public TelefoneTO getTelefoneById(String id) {
    	return (TelefoneTO)get(id);
    }
}